.class public Lcom/waiqin365/lightapp/product/ProductSelectActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private A:I

.field private B:Landroid/os/Handler;

.field private a:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

.field private b:Landroid/widget/LinearLayout;

.field private c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private d:Landroid/view/View;

.field private e:Landroid/view/View;

.field private f:Landroid/widget/Button;

.field private g:Landroid/view/View;

.field private h:Landroid/view/View;

.field private i:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private j:Lcom/waiqin365/lightapp/view/NoNetView;

.field private k:Lcom/waiqin365/lightapp/product/d/g;

.field private l:Ljava/util/List;

.field private m:Ljava/util/List;

.field private n:Ljava/util/List;

.field private o:Landroid/widget/TextView;

.field private p:Landroid/widget/TextView;

.field private q:Landroid/widget/TextView;

.field private r:Landroid/widget/LinearLayout$LayoutParams;

.field private s:Landroid/widget/LinearLayout$LayoutParams;

.field private t:Landroid/widget/AbsListView$LayoutParams;

.field private u:Lcom/waiqin365/lightapp/product/a/co;

.field private v:Ljava/util/List;

.field private w:Ljava/util/List;

.field private x:I

.field private y:I

.field private z:Z


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->n:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->w:Ljava/util/List;

    const-string/jumbo v0, "#ff9008"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->x:I

    const-string/jumbo v0, "#000000"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->y:I

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->z:Z

    iput v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->A:I

    return-void
.end method

.method static synthetic A(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Landroid/widget/TextView;)Landroid/widget/TextView;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->q:Landroid/widget/TextView;

    return-object p1
.end method

.method private a()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/product/cj;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/cj;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->B:Landroid/os/Handler;

    return-void
.end method

.method private a(I)V
    .locals 4

    const-string/jumbo v0, ""

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->showProgressDialog(Ljava/lang/String;Z)V

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->c:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    new-instance v3, Lcom/waiqin365/lightapp/product/co;

    invoke-direct {v3, p0, p1}, Lcom/waiqin365/lightapp/product/co;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;I)V

    invoke-static {p0, v0, v1, v2, v3}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/waiqin365/lightapp/product/s;Lcom/waiqin365/lightapp/product/c/g;)V

    return-void
.end method

.method private a(Lcom/waiqin365/base/db/jxccache/g;)V
    .locals 1

    if-nez p1, :cond_0

    const v0, 0x7f08065e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Ljava/util/List;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->d()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Lcom/waiqin365/base/db/jxccache/g;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/base/db/jxccache/g;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Lcom/waiqin365/lightapp/product/d/h;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c(Ljava/lang/String;)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/product/d/h;)V
    .locals 10

    const/4 v2, 0x0

    const/high16 v9, 0x41400000    # 12.0f

    const/4 v8, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->removeHeaderView(Landroid/view/View;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    const-string/jumbo v0, "-1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/h;)Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    :goto_1
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    new-instance v3, Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v3, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0, v9}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v5, 0x41800000    # 16.0f

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v5, v9}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v7, 0x41600000    # 14.0f

    invoke-static {v6, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v6

    invoke-virtual {v3, v0, v4, v5, v6}, Landroid/widget/TextView;->setPadding(IIII)V

    const/4 v0, -0x1

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setBackgroundColor(I)V

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v4, 0x7f02001e

    invoke-virtual {v0, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v3, v8, v8, v0, v8}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    new-instance v0, Lcom/waiqin365/lightapp/product/cd;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/cd;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->addHeaderView(Landroid/view/View;)V

    new-instance v0, Landroid/view/View;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v3}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v3, 0x7f020283

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->t:Landroid/widget/AbsListView$LayoutParams;

    invoke-virtual {v0, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->addHeaderView(Landroid/view/View;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    :cond_1
    const-string/jumbo v0, "-1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->e:Ljava/lang/String;

    :goto_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->g()V

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->e:Ljava/lang/String;

    goto :goto_2
.end method

.method private a(Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V
    .locals 9

    const/4 v3, -0x1

    const/4 v4, 0x0

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->n:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/db/offlinedata/w;->a(Lcom/waiqin365/lightapp/product/d/h;)Ljava/util/List;

    move-result-object v5

    const-string/jumbo v0, "-1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/product/ce;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ce;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz v5, :cond_0

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->r:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->b:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/f;->a()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->h()Landroid/view/View;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->s:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Lcom/waiqin365/lightapp/product/d/h;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/h;-><init>()V

    const-string/jumbo v1, "-2"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    const v1, 0x7f0802ef

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    new-instance v3, Lcom/waiqin365/lightapp/product/cf;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/product/cf;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->r:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_2
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->h()Landroid/view/View;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->s:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iput v4, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->A:I

    if-eqz v5, :cond_5

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_5

    move v3, v4

    :goto_2
    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-ge v3, v0, :cond_5

    invoke-interface {v5, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i()Landroid/widget/TextView;

    move-result-object v1

    const/high16 v6, 0x41600000    # 14.0f

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v6, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    new-instance v6, Lcom/waiqin365/lightapp/product/ch;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/product/ch;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    iget-object v7, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->r:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v6, v1, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->h()Landroid/view/View;

    move-result-object v7

    iget-object v8, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->s:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v6, v7, v8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v6, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    if-nez v2, :cond_3

    iget v6, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->A:I

    invoke-virtual {v1}, Landroid/widget/TextView;->getHeight()I

    move-result v7

    add-int/2addr v6, v7

    iput v6, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->A:I

    :cond_3
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-nez v6, :cond_7

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    move-object v0, v1

    :goto_3
    add-int/lit8 v1, v3, 0x1

    move v3, v1

    move-object v2, v0

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "  "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const v3, 0x7f0801c0

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v3, 0x7f020021

    invoke-virtual {v1, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/product/cg;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/cg;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->r:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_1

    :cond_5
    if-nez v2, :cond_6

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;)V

    goto/16 :goto_0

    :cond_6
    invoke-virtual {v2}, Landroid/widget/TextView;->performClick()Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    new-instance v1, Lcom/waiqin365/lightapp/product/ci;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ci;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->post(Ljava/lang/Runnable;)Z

    goto/16 :goto_0

    :cond_7
    move-object v0, v2

    goto :goto_3
.end method

.method private a(Ljava/util/List;)V
    .locals 4

    if-nez p1, :cond_1

    const v0, 0x7f08065e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->showToast(Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->n()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    invoke-static {p1, v0}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/util/List;Ljava/util/List;)Z

    move-result v0

    if-eqz v0, :cond_0

    :cond_2
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->u()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v3, v0}, Lcom/waiqin365/base/db/jxccache/f;->c(Ljava/lang/String;Ljava/lang/String;)Z

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/db/jxccache/f;->b(Ljava/util/List;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->e:Ljava/lang/Class;

    if-eqz v0, :cond_4

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "has_data"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->e:Ljava/lang/Class;

    invoke-virtual {v0, v1, p1, v2}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "has_data_h5"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->e:Ljava/lang/Class;

    invoke-virtual {v0, v1, p1, v2}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    :cond_4
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "selectedList"

    check-cast p1, Ljava/io/Serializable;

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->finish()V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->z:Z

    return p1
.end method

.method private a(Ljava/lang/String;)Z
    .locals 4

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const-string/jumbo v1, "last_update_cmprice_time"

    const-string/jumbo v2, ""

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const-string/jumbo v1, "last_update_cmprice_cmid"

    const-string/jumbo v2, ""

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    :cond_0
    return v3
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/product/d/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    return-object v0
.end method

.method private b()V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0, v3}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->showProgressDialog(Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->e()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/4 v1, 0x1

    new-instance v2, Lcom/waiqin365/lightapp/product/ck;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/product/ck;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-static {v0, v1, v3, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    goto :goto_0
.end method

.method private b(I)V
    .locals 3

    const v2, 0x7f0805d3

    if-lez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f:Landroid/widget/Button;

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductSelectActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(I)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Lcom/waiqin365/lightapp/product/d/h;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(Lcom/waiqin365/lightapp/product/d/h;)V

    return-void
.end method

.method private b(Lcom/waiqin365/lightapp/product/d/h;)V
    .locals 5

    const/16 v4, 0x8

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->removeHeaderView(Landroid/view/View;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->w:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/f;->a()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->w:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->w:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f08058e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setMsg(Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->w:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->b(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    goto :goto_1
.end method

.method private b(Ljava/lang/String;)V
    .locals 4

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const/4 v3, -0x1

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->x:I

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->m:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->y:I

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1

    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Ljava/lang/String;)Z
    .locals 1

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method private c()V
    .locals 2

    const v0, 0x7f0c09ff

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    const v0, 0x7f0c0867

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0a00

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c050d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->d:Landroid/view/View;

    const v0, 0x7f0c09fe

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->e:Landroid/view/View;

    const v0, 0x7f0c0504

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f:Landroid/widget/Button;

    const v0, 0x7f0c09fc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->g:Landroid/view/View;

    const v0, 0x7f0c09fd

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->h:Landroid/view/View;

    const v0, 0x7f0c0523

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v1, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->g:Ljava/lang/String;

    if-nez v0, :cond_1

    const v0, 0x7f08001c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->e()V

    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    const v0, 0x7f0c0a01

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->f:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->d:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->g:Ljava/lang/String;

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->g()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(Ljava/lang/String;)V

    return-void
.end method

.method private c(Ljava/lang/String;)V
    .locals 4

    const/4 v3, 0x1

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSearchActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "search"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "camera"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/product/a/co;->m()Ljava/util/List;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iput-object p1, v1, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    const-string/jumbo v1, "param"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isSelect"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/16 v1, 0x4d2

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private d()V
    .locals 10

    const/16 v9, 0x8

    const/4 v2, 0x0

    const/high16 v8, 0x41600000    # 14.0f

    const/high16 v7, 0x41400000    # 12.0f

    const/4 v6, -0x1

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    invoke-virtual {v0, v1, p0, v3}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;Ljava/util/List;)Lcom/waiqin365/lightapp/product/a/co;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v3, v4}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/product/d/g;->k:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->d(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/product/d/g;->a:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->e(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/product/d/g;->l:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/product/d/g;->b:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->c(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    new-instance v1, Lcom/waiqin365/lightapp/product/cp;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/cp;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Lcom/waiqin365/lightapp/product/c/a;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v1, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v4, 0x41800000    # 16.0f

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v4, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v5, v8}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    invoke-virtual {v0, v1, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    iget v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->x:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v1, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v4, 0x41800000    # 16.0f

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v4, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v5, v8}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    invoke-virtual {v0, v1, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    const-string/jumbo v1, "#ff7c73"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x2

    invoke-direct {v0, v6, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->r:Landroid/widget/LinearLayout$LayoutParams;

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v3, 0x3f000000    # 0.5f

    invoke-static {v1, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    invoke-direct {v0, v6, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->s:Landroid/widget/LinearLayout$LayoutParams;

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v3, 0x3f000000    # 0.5f

    invoke-static {v1, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    invoke-direct {v0, v6, v1}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->t:Landroid/widget/AbsListView$LayoutParams;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->e:Landroid/view/View;

    invoke-virtual {v0, v9}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/d;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    new-instance v4, Lcom/waiqin365/lightapp/product/d/f;

    invoke-direct {v4, v0}, Lcom/waiqin365/lightapp/product/d/f;-><init>(Lcom/waiqin365/lightapp/product/d/d;)V

    invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f08058e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setMsg(Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    :goto_2
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    goto :goto_1

    :cond_2
    new-instance v0, Lcom/waiqin365/lightapp/product/d/h;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/h;-><init>()V

    const-string/jumbo v1, "-1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    const v1, 0x7f0802dd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->q:Landroid/widget/TextView;

    goto :goto_2
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private e()V
    .locals 3

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const v1, 0x7f020284

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const v1, 0x7f020285

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    goto :goto_0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private f()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->h:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/product/cq;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/cq;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/product/cs;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/cs;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    new-instance v1, Lcom/waiqin365/lightapp/product/ct;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ct;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->setOnScrollListener(Lcom/waiqin365/lightapp/kehu/view/bn;)V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private g()V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/j;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_1
    if-eqz v0, :cond_2

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/j;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f08058e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setMsg(Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->b(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->j:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    goto :goto_1
.end method

.method private h()Landroid/view/View;
    .locals 3

    new-instance v0, Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0b003a

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b()V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private i()Landroid/widget/TextView;
    .locals 6

    const/high16 v4, 0x41400000    # 12.0f

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->n:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->n:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->n:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v1, v4}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v3, 0x41800000    # 16.0f

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/high16 v5, 0x41600000    # 14.0f

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    goto :goto_0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->g:Landroid/view/View;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->B:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/product/a/co;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    return-object v0
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->q:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic s(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic t(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic u(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->o:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic v(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->x:I

    return v0
.end method

.method static synthetic w(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->p:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic x(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->y:I

    return v0
.end method

.method static synthetic y(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic z(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->A:I

    return v0
.end method


# virtual methods
.method public hasData(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 2

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    instance-of v0, v0, Ljava/util/HashMap;

    if-eqz v0, :cond_1

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    const-string/jumbo v1, "key"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Ljava/util/List;)V

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    sparse-switch p1, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    const-string/jumbo v0, "qrResult"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v1, "result"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_1
    const-string/jumbo v0, "param"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(I)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->z:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->finish()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x66 -> :sswitch_0
        0x4d2 -> :sswitch_1
    .end sparse-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->finish()V

    goto :goto_0

    :sswitch_1
    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;Z)V

    :goto_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    goto :goto_0

    :cond_0
    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;Z)V

    goto :goto_1

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->u:Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->m()Ljava/util/List;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Ljava/util/List;)V

    goto :goto_0

    :sswitch_3
    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_4
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/base/qr/OrderCaptureActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/16 v1, 0x66

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c008e -> :sswitch_1
        0x7f0c0090 -> :sswitch_1
        0x7f0c0504 -> :sswitch_2
        0x7f0c09fc -> :sswitch_3
        0x7f0c09fd -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0301e1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/product/d/g;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/g;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    new-instance v1, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->k:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, "20"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->h:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f()V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/o;->c()Z

    move-result v0

    if-nez v0, :cond_2

    new-instance v0, Lcom/waiqin365/lightapp/product/cc;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/cc;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/b;->a(Lcom/waiqin365/lightapp/product/c/f;)V

    :cond_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b()V

    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 6

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    const-string/jumbo v1, "showPicTips1"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->i:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    const v1, 0x7f08061f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/product/cm;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/cm;-><init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->b:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->a:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0xe9

    move v5, v4

    invoke-virtual/range {v0 .. v5}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;III)V

    :cond_0
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    return-void
.end method
